package demo4;

import demo4.controller.UserController;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author 李明洋
 * @date 2025/3/28 16:31
 * @version: 1.0
 */
public class Demo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context
                = new AnnotationConfigApplicationContext("demo4");
        UserController controller = context.getBean(UserController.class);
        controller.start();
    }
}
